import java.util.Vector;

/**
 * 
 */

/**
 * @author Ashley
 *
 */
public class ArraySTO extends STO {

	/**
	 * @param strName
	 */
	private Vector<STO> arrayElements;
	public ArraySTO(Vector<STO> arrayElements) {
		super("ArraySTO", new ArrayType());
		setArrayElements(arrayElements);
	}

	/**
	 * @param strName
	 * @param typ
	 */
	public ArraySTO(String strName, Type typ) {
		super(strName, typ);
	}
	
	
	@Override
	public boolean isArray() {
		return true ;
	}

	public Vector<STO> getArrayElements() {
		return arrayElements;
	}

	public void setArrayElements(Vector<STO> arrayElements) {
		this.arrayElements = arrayElements;
	} 

}
